package com.linyf.design.template.template;

/**
 * @Author: linyf
 * @Description: TODO
 * @DateTime: 2023/3/30 9:43
 **/
public abstract class AbstractTemplate {

    public String templateMethod(){

        abstractMethod1();

        abstractMethod2();

        return "template end";
    }


    protected abstract void abstractMethod1();


    protected abstract void abstractMethod2();

}
